import libAxios from "axios";
// axios网络请求封装请求开始
const axios = libAxios.create({
  baseURL: process.env.API_ROOT,
  timeout: 15000,
  withCredentials: false,
  headers: {
    "Content-Type": "application/json;charset=utf-8",
    "Access-Control-Allow-Headers": "X-Requested-With,Content-Type",
    "Access-Control-Allow-Methods": "OPTIONS, GET, POST",
  },
});
export default axios;
